eKOK Dokumentacja Integracyjna
0.4.0 - draft Poland flag

Profil zasobu: PLAllergyIntolerance

Logiczny url: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLAllergyIntolerance Wersja: 0.4.0
Active z dnia 2026-02-16 Nazwa: PLAllergyIntolerance

Profil zasobu zawierający zakres danych dotyczących alergii pacjenta.

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Profil

Opis sposobu prezentacji profilu ujęty jest w specyfikacji standardu FHIR.

Struktura bazuje na AllergyIntolerance

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
... id 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta 1..1 Meta Metadane zasobu
.... id 0..0
.... extension 0..0
.... versionId 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source 0..1 uri Identyfikator źródła zasobu - automatycznie ustawiany przez serwer, przy rejestracji lub aktualizacji zasobu
.... profile 1..1 canonical(StructureDefinition) Profil zasobu
Fixed Value: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLAllergyIntolerance
.... security 1..1 Coding Poziom poufności danych
..... id 0..0
..... extension 0..0
..... system 1..1 uri System kodowania poziomów poufności danych
Fixed Value: urn:oid:2.16.840.1.113883.3.4424.11.1.83
..... version 0..0
..... code 1..1 code Kod poziomu poufności danych
Binding: PLSecurityLabels (required)
..... display 0..0
..... userSelected 0..0
.... tag 0..0
... implicitRules 0..1 uri Numer wersji aplikacji - automatycznie ustawiany przy rejestracji lub aktualizacji zasobu
... contained 0..0
... identifier 0..0
... clinicalStatus 1..1 CodeableConcept Informacja o statusie Alergii
.... coding 1..1 Coding Status Alergii
..... system 1..1 uri Słownik statusów alergii
..... code 1..1 code Kod statusu alergii
..... display 1..1 string Nazwa statusu alergii
... verificationStatus 0..0
... type 0..1 code Kod immunologicznej reakcji organizmu
... category 1..* code Kategoria reakcji
... criticality 0..0
... code 1..1 CodeableConcept Informacja o alergenie
.... coding 1..1 Coding Nazwa alergenu
..... system 1..1 uri Słownik alergenów
..... code 1..1 code Kod alergenu. Kod alergenu w międzynarodowym systemie terminologii klinicznej przeznaczonym do opisywania danych Pacjenta dla celów klinicznych (SNOMED), dostępny pod linkiem: https://www.snomed.org/ lub wg klasyfikacji ATC
..... display 1..1 string Nazwa alergenu
... patient 1..1 Reference(Patient) Pacjent
.... reference 0..0
.... type 0..0
.... identifier 1..1 Identifier Identyfikator Pacjenta
..... system 1..1 uri Identyfikator OID Pacjenta
..... value 1..1 string Identyfikator Pacjenta
.... display 0..0
... encounter 0..1 Reference(Encounter) Zdarzenie medyczne, w trakcie którego zarejestrowano Alergię
.... reference 1..1 string Referencja do Zdarzenia Medycznego
.... type 1..1 uri Typ zasobu
... onset[x] 0..0
... recordedDate 1..1 dateTime Data początku wystąpienia alergii
... recorder 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Lekarz potwierdzający alergię Pacjenta
.... id 0..0
.... reference 0..0
.... type 0..0
.... identifier 1..1 Identifier Identyfikator lekarza potwierdzającego alergię Pacjenta
..... system 1..1 uri Identyfikator OID lekarza
..... value 1..1 string Identyfikator lekarza
.... display 0..0
... asserter 0..0
... lastOccurrence 0..0
... note 0..* Annotation Notatka
.... text 1..1 markdown Treść notatki
... reaction 1..* BackboneElement Reakcja alergiczna
.... manifestation 1..* CodeableConcept Informacja o objawach reakcji alergicznej
..... coding 1..1 Coding Objawy reakcji alergicznej
...... system 1..1 uri Słownik objawów reakcji alergicznej
...... code 1..1 code Kod objawów reakcji alergicznej
...... display 1..1 string Nazwa objawów reakcji alergicznej
.... description 0..0
.... onset 0..0
.... severity 0..0
.... exposureRoute 0..0
.... note 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
AllergyIntolerance.meta.​security.code Base required PLSecurityLabels 📦0.4.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance C 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
Constraints: ait-1, ait-2
... id Σ 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta Σ 1..1 Meta Metadane zasobu
.... extension 0..0
.... versionId Σ 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated Σ 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source Σ 0..1 uri Identyfikator źródła zasobu - automatycznie ustawiany przez serwer, przy rejestracji lub aktualizacji zasobu
.... profile Σ 1..1 canonical(StructureDefinition) Profil zasobu

Fixed Value: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLAllergyIntolerance
.... security Σ 1..1 Coding Poziom poufności danych
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
..... extension 0..0
..... system Σ 1..1 uri System kodowania poziomów poufności danych
Fixed Value: urn:oid:2.16.840.1.113883.3.4424.11.1.83
..... code Σ 1..1 code Kod poziomu poufności danych
Binding: PLSecurityLabels (required)
... implicitRules ?!Σ 0..1 uri Numer wersji aplikacji - automatycznie ustawiany przy rejestracji lub aktualizacji zasobu
... clinicalStatus ?!ΣC 1..1 CodeableConcept Informacja o statusie Alergii
Binding: AllergyIntoleranceClinicalStatusCodes (required): The clinical status of the allergy or intolerance.
.... coding Σ 1..1 Coding Status Alergii
..... system Σ 1..1 uri Słownik statusów alergii
..... code Σ 1..1 code Kod statusu alergii
..... display Σ 1..1 string Nazwa statusu alergii
... type Σ 0..1 code Kod immunologicznej reakcji organizmu
Binding: AllergyIntoleranceType (required): Identification of the underlying physiological mechanism for a Reaction Risk.
... category Σ 1..* code Kategoria reakcji
Binding: AllergyIntoleranceCategory (required): Category of an identified substance associated with allergies or intolerances.
... code Σ 1..1 CodeableConcept Informacja o alergenie
Binding: AllergyIntoleranceSubstance/Product,ConditionAndNegationCodes (example): Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies.
.... coding Σ 1..1 Coding Nazwa alergenu
..... system Σ 1..1 uri Słownik alergenów
..... code Σ 1..1 code Kod alergenu. Kod alergenu w międzynarodowym systemie terminologii klinicznej przeznaczonym do opisywania danych Pacjenta dla celów klinicznych (SNOMED), dostępny pod linkiem: https://www.snomed.org/ lub wg klasyfikacji ATC
..... display Σ 1..1 string Nazwa alergenu
... patient Σ 1..1 Reference(Patient) Pacjent
.... identifier Σ 1..1 Identifier Identyfikator Pacjenta
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri Identyfikator OID Pacjenta
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator Pacjenta
Example General: 123456
... encounter 0..1 Reference(Encounter) Zdarzenie medyczne, w trakcie którego zarejestrowano Alergię
.... reference ΣC 1..1 string Referencja do Zdarzenia Medycznego
.... type Σ 1..1 uri Typ zasobu
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
... recordedDate 1..1 dateTime Data początku wystąpienia alergii
... recorder 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Lekarz potwierdzający alergię Pacjenta
.... identifier Σ 1..1 Identifier Identyfikator lekarza potwierdzającego alergię Pacjenta
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri Identyfikator OID lekarza
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator lekarza
Example General: 123456
... note 0..* Annotation Notatka
.... text Σ 1..1 markdown Treść notatki
... reaction 1..* BackboneElement Reakcja alergiczna
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... manifestation 1..* CodeableConcept Informacja o objawach reakcji alergicznej
Binding: SNOMEDCTClinicalFindings (example): Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.
..... coding Σ 1..1 Coding Objawy reakcji alergicznej
...... system Σ 1..1 uri Słownik objawów reakcji alergicznej
...... code Σ 1..1 code Kod objawów reakcji alergicznej
...... display Σ 1..1 string Nazwa objawów reakcji alergicznej

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AllergyIntolerance.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
AllergyIntolerance.meta.​security.code Base required PLSecurityLabels 📦0.4.0 This IG
AllergyIntolerance.clinicalStatus Base required AllergyIntolerance Clinical Status Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.type Base required AllergyIntoleranceType 📍4.0.1 FHIR Std.
AllergyIntolerance.category Base required AllergyIntoleranceCategory 📍4.0.1 FHIR Std.
AllergyIntolerance.code Base example AllergyIntolerance Substance/Product, Condition and Negation Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.patient.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AllergyIntolerance.encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
AllergyIntolerance.recorder.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AllergyIntolerance.reaction.​manifestation Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ait-1 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
dom-2 error AllergyIntolerance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error AllergyIntolerance If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error AllergyIntolerance If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error AllergyIntolerance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice AllergyIntolerance A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance C 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
Constraints: ait-1, ait-2
... id Σ 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta Σ 1..1 Meta Metadane zasobu
.... extension 0..0
.... versionId Σ 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated Σ 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source Σ 0..1 uri Identyfikator źródła zasobu - automatycznie ustawiany przez serwer, przy rejestracji lub aktualizacji zasobu
.... profile Σ 1..1 canonical(StructureDefinition) Profil zasobu

Fixed Value: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLAllergyIntolerance
.... security Σ 1..1 Coding Poziom poufności danych
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
..... extension 0..0
..... system Σ 1..1 uri System kodowania poziomów poufności danych
Fixed Value: urn:oid:2.16.840.1.113883.3.4424.11.1.83
..... code Σ 1..1 code Kod poziomu poufności danych
Binding: PLSecurityLabels (required)
... implicitRules ?!Σ 0..1 uri Numer wersji aplikacji - automatycznie ustawiany przy rejestracji lub aktualizacji zasobu
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... clinicalStatus ?!ΣC 1..1 CodeableConcept Informacja o statusie Alergii
Binding: AllergyIntoleranceClinicalStatusCodes (required): The clinical status of the allergy or intolerance.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Status Alergii
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri Słownik statusów alergii
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 1..1 code Kod statusu alergii
..... display Σ 1..1 string Nazwa statusu alergii
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... type Σ 0..1 code Kod immunologicznej reakcji organizmu
Binding: AllergyIntoleranceType (required): Identification of the underlying physiological mechanism for a Reaction Risk.
... category Σ 1..* code Kategoria reakcji
Binding: AllergyIntoleranceCategory (required): Category of an identified substance associated with allergies or intolerances.
... code Σ 1..1 CodeableConcept Informacja o alergenie
Binding: AllergyIntoleranceSubstance/Product,ConditionAndNegationCodes (example): Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Nazwa alergenu
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri Słownik alergenów
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 1..1 code Kod alergenu. Kod alergenu w międzynarodowym systemie terminologii klinicznej przeznaczonym do opisywania danych Pacjenta dla celów klinicznych (SNOMED), dostępny pod linkiem: https://www.snomed.org/ lub wg klasyfikacji ATC
..... display Σ 1..1 string Nazwa alergenu
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... patient Σ 1..1 Reference(Patient) Pacjent
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... identifier Σ 1..1 Identifier Identyfikator Pacjenta
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri Identyfikator OID Pacjenta
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator Pacjenta
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... encounter 0..1 Reference(Encounter) Zdarzenie medyczne, w trakcie którego zarejestrowano Alergię
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Referencja do Zdarzenia Medycznego
.... type Σ 1..1 uri Typ zasobu
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... recordedDate 1..1 dateTime Data początku wystąpienia alergii
... recorder 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Lekarz potwierdzający alergię Pacjenta
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... identifier Σ 1..1 Identifier Identyfikator lekarza potwierdzającego alergię Pacjenta
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri Identyfikator OID lekarza
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator lekarza
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... note 0..* Annotation Notatka
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown Treść notatki
... reaction 1..* BackboneElement Reakcja alergiczna
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... substance 0..1 CodeableConcept Specific substance or pharmaceutical product considered to be responsible for event
Binding: SubstanceCode (example): Codes defining the type of the substance (including pharmaceutical products).
.... manifestation 1..* CodeableConcept Informacja o objawach reakcji alergicznej
Binding: SNOMEDCTClinicalFindings (example): Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 1..1 Coding Objawy reakcji alergicznej
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Słownik objawów reakcji alergicznej
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Kod objawów reakcji alergicznej
...... display Σ 1..1 string Nazwa objawów reakcji alergicznej
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AllergyIntolerance.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
AllergyIntolerance.meta.​security.code Base required PLSecurityLabels 📦0.4.0 This IG
AllergyIntolerance.clinicalStatus Base required AllergyIntolerance Clinical Status Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.type Base required AllergyIntoleranceType 📍4.0.1 FHIR Std.
AllergyIntolerance.category Base required AllergyIntoleranceCategory 📍4.0.1 FHIR Std.
AllergyIntolerance.code Base example AllergyIntolerance Substance/Product, Condition and Negation Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.patient.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AllergyIntolerance.patient.​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
AllergyIntolerance.encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
AllergyIntolerance.recorder.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AllergyIntolerance.recorder.​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
AllergyIntolerance.reaction.​substance Base example Substance Code 📍4.0.1 FHIR Std.
AllergyIntolerance.reaction.​manifestation Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ait-1 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
dom-2 error AllergyIntolerance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error AllergyIntolerance If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error AllergyIntolerance If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error AllergyIntolerance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice AllergyIntolerance A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Struktura bazuje na AllergyIntolerance

Summary

Mandatory: 29 elements(2 nested mandatory elements)
Fixed: 2 elements
Prohibited: 28 elements

Widok Differential

Struktura bazuje na AllergyIntolerance

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
... id 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta 1..1 Meta Metadane zasobu
.... id 0..0
.... extension 0..0
.... versionId 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source 0..1 uri Identyfikator źródła zasobu - automatycznie ustawiany przez serwer, przy rejestracji lub aktualizacji zasobu
.... profile 1..1 canonical(StructureDefinition) Profil zasobu
Fixed Value: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLAllergyIntolerance
.... security 1..1 Coding Poziom poufności danych
..... id 0..0
..... extension 0..0
..... system 1..1 uri System kodowania poziomów poufności danych
Fixed Value: urn:oid:2.16.840.1.113883.3.4424.11.1.83
..... version 0..0
..... code 1..1 code Kod poziomu poufności danych
Binding: PLSecurityLabels (required)
..... display 0..0
..... userSelected 0..0
.... tag 0..0
... implicitRules 0..1 uri Numer wersji aplikacji - automatycznie ustawiany przy rejestracji lub aktualizacji zasobu
... contained 0..0
... identifier 0..0
... clinicalStatus 1..1 CodeableConcept Informacja o statusie Alergii
.... coding 1..1 Coding Status Alergii
..... system 1..1 uri Słownik statusów alergii
..... code 1..1 code Kod statusu alergii
..... display 1..1 string Nazwa statusu alergii
... verificationStatus 0..0
... type 0..1 code Kod immunologicznej reakcji organizmu
... category 1..* code Kategoria reakcji
... criticality 0..0
... code 1..1 CodeableConcept Informacja o alergenie
.... coding 1..1 Coding Nazwa alergenu
..... system 1..1 uri Słownik alergenów
..... code 1..1 code Kod alergenu. Kod alergenu w międzynarodowym systemie terminologii klinicznej przeznaczonym do opisywania danych Pacjenta dla celów klinicznych (SNOMED), dostępny pod linkiem: https://www.snomed.org/ lub wg klasyfikacji ATC
..... display 1..1 string Nazwa alergenu
... patient 1..1 Reference(Patient) Pacjent
.... reference 0..0
.... type 0..0
.... identifier 1..1 Identifier Identyfikator Pacjenta
..... system 1..1 uri Identyfikator OID Pacjenta
..... value 1..1 string Identyfikator Pacjenta
.... display 0..0
... encounter 0..1 Reference(Encounter) Zdarzenie medyczne, w trakcie którego zarejestrowano Alergię
.... reference 1..1 string Referencja do Zdarzenia Medycznego
.... type 1..1 uri Typ zasobu
... onset[x] 0..0
... recordedDate 1..1 dateTime Data początku wystąpienia alergii
... recorder 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Lekarz potwierdzający alergię Pacjenta
.... id 0..0
.... reference 0..0
.... type 0..0
.... identifier 1..1 Identifier Identyfikator lekarza potwierdzającego alergię Pacjenta
..... system 1..1 uri Identyfikator OID lekarza
..... value 1..1 string Identyfikator lekarza
.... display 0..0
... asserter 0..0
... lastOccurrence 0..0
... note 0..* Annotation Notatka
.... text 1..1 markdown Treść notatki
... reaction 1..* BackboneElement Reakcja alergiczna
.... manifestation 1..* CodeableConcept Informacja o objawach reakcji alergicznej
..... coding 1..1 Coding Objawy reakcji alergicznej
...... system 1..1 uri Słownik objawów reakcji alergicznej
...... code 1..1 code Kod objawów reakcji alergicznej
...... display 1..1 string Nazwa objawów reakcji alergicznej
.... description 0..0
.... onset 0..0
.... severity 0..0
.... exposureRoute 0..0
.... note 0..0

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
AllergyIntolerance.meta.​security.code Base required PLSecurityLabels 📦0.4.0 This IG

Widok kluczowych elementów

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance C 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
Constraints: ait-1, ait-2
... id Σ 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta Σ 1..1 Meta Metadane zasobu
.... extension 0..0
.... versionId Σ 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated Σ 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source Σ 0..1 uri Identyfikator źródła zasobu - automatycznie ustawiany przez serwer, przy rejestracji lub aktualizacji zasobu
.... profile Σ 1..1 canonical(StructureDefinition) Profil zasobu

Fixed Value: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLAllergyIntolerance
.... security Σ 1..1 Coding Poziom poufności danych
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
..... extension 0..0
..... system Σ 1..1 uri System kodowania poziomów poufności danych
Fixed Value: urn:oid:2.16.840.1.113883.3.4424.11.1.83
..... code Σ 1..1 code Kod poziomu poufności danych
Binding: PLSecurityLabels (required)
... implicitRules ?!Σ 0..1 uri Numer wersji aplikacji - automatycznie ustawiany przy rejestracji lub aktualizacji zasobu
... clinicalStatus ?!ΣC 1..1 CodeableConcept Informacja o statusie Alergii
Binding: AllergyIntoleranceClinicalStatusCodes (required): The clinical status of the allergy or intolerance.
.... coding Σ 1..1 Coding Status Alergii
..... system Σ 1..1 uri Słownik statusów alergii
..... code Σ 1..1 code Kod statusu alergii
..... display Σ 1..1 string Nazwa statusu alergii
... type Σ 0..1 code Kod immunologicznej reakcji organizmu
Binding: AllergyIntoleranceType (required): Identification of the underlying physiological mechanism for a Reaction Risk.
... category Σ 1..* code Kategoria reakcji
Binding: AllergyIntoleranceCategory (required): Category of an identified substance associated with allergies or intolerances.
... code Σ 1..1 CodeableConcept Informacja o alergenie
Binding: AllergyIntoleranceSubstance/Product,ConditionAndNegationCodes (example): Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies.
.... coding Σ 1..1 Coding Nazwa alergenu
..... system Σ 1..1 uri Słownik alergenów
..... code Σ 1..1 code Kod alergenu. Kod alergenu w międzynarodowym systemie terminologii klinicznej przeznaczonym do opisywania danych Pacjenta dla celów klinicznych (SNOMED), dostępny pod linkiem: https://www.snomed.org/ lub wg klasyfikacji ATC
..... display Σ 1..1 string Nazwa alergenu
... patient Σ 1..1 Reference(Patient) Pacjent
.... identifier Σ 1..1 Identifier Identyfikator Pacjenta
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri Identyfikator OID Pacjenta
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator Pacjenta
Example General: 123456
... encounter 0..1 Reference(Encounter) Zdarzenie medyczne, w trakcie którego zarejestrowano Alergię
.... reference ΣC 1..1 string Referencja do Zdarzenia Medycznego
.... type Σ 1..1 uri Typ zasobu
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
... recordedDate 1..1 dateTime Data początku wystąpienia alergii
... recorder 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Lekarz potwierdzający alergię Pacjenta
.... identifier Σ 1..1 Identifier Identyfikator lekarza potwierdzającego alergię Pacjenta
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri Identyfikator OID lekarza
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator lekarza
Example General: 123456
... note 0..* Annotation Notatka
.... text Σ 1..1 markdown Treść notatki
... reaction 1..* BackboneElement Reakcja alergiczna
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... manifestation 1..* CodeableConcept Informacja o objawach reakcji alergicznej
Binding: SNOMEDCTClinicalFindings (example): Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.
..... coding Σ 1..1 Coding Objawy reakcji alergicznej
...... system Σ 1..1 uri Słownik objawów reakcji alergicznej
...... code Σ 1..1 code Kod objawów reakcji alergicznej
...... display Σ 1..1 string Nazwa objawów reakcji alergicznej

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AllergyIntolerance.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
AllergyIntolerance.meta.​security.code Base required PLSecurityLabels 📦0.4.0 This IG
AllergyIntolerance.clinicalStatus Base required AllergyIntolerance Clinical Status Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.type Base required AllergyIntoleranceType 📍4.0.1 FHIR Std.
AllergyIntolerance.category Base required AllergyIntoleranceCategory 📍4.0.1 FHIR Std.
AllergyIntolerance.code Base example AllergyIntolerance Substance/Product, Condition and Negation Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.patient.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AllergyIntolerance.encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
AllergyIntolerance.recorder.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AllergyIntolerance.reaction.​manifestation Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ait-1 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
dom-2 error AllergyIntolerance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error AllergyIntolerance If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error AllergyIntolerance If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error AllergyIntolerance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice AllergyIntolerance A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Widok Snapshot

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AllergyIntolerance C 0..* AllergyIntolerance Allergy or Intolerance (generally: Risk of adverse reaction to a substance)
Constraints: ait-1, ait-2
... id Σ 0..1 id Identyfikator logiczny zasobu (wartość nadawana przez system P1)
... meta Σ 1..1 Meta Metadane zasobu
.... extension 0..0
.... versionId Σ 0..1 id Wersja zasobu (wartość ustawiana przez system P1)
.... lastUpdated Σ 0..1 instant Data aktualizacji zasobu (wartość ustawiana przez system P1)
.... source Σ 0..1 uri Identyfikator źródła zasobu - automatycznie ustawiany przez serwer, przy rejestracji lub aktualizacji zasobu
.... profile Σ 1..1 canonical(StructureDefinition) Profil zasobu

Fixed Value: https://ezdrowie.gov.pl/fhir/StructureDefinition/PLAllergyIntolerance
.... security Σ 1..1 Coding Poziom poufności danych
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
..... extension 0..0
..... system Σ 1..1 uri System kodowania poziomów poufności danych
Fixed Value: urn:oid:2.16.840.1.113883.3.4424.11.1.83
..... code Σ 1..1 code Kod poziomu poufności danych
Binding: PLSecurityLabels (required)
... implicitRules ?!Σ 0..1 uri Numer wersji aplikacji - automatycznie ustawiany przy rejestracji lub aktualizacji zasobu
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... clinicalStatus ?!ΣC 1..1 CodeableConcept Informacja o statusie Alergii
Binding: AllergyIntoleranceClinicalStatusCodes (required): The clinical status of the allergy or intolerance.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Status Alergii
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri Słownik statusów alergii
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 1..1 code Kod statusu alergii
..... display Σ 1..1 string Nazwa statusu alergii
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... type Σ 0..1 code Kod immunologicznej reakcji organizmu
Binding: AllergyIntoleranceType (required): Identification of the underlying physiological mechanism for a Reaction Risk.
... category Σ 1..* code Kategoria reakcji
Binding: AllergyIntoleranceCategory (required): Category of an identified substance associated with allergies or intolerances.
... code Σ 1..1 CodeableConcept Informacja o alergenie
Binding: AllergyIntoleranceSubstance/Product,ConditionAndNegationCodes (example): Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Nazwa alergenu
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 1..1 uri Słownik alergenów
..... version Σ 0..1 string Version of the system - if relevant
..... code Σ 1..1 code Kod alergenu. Kod alergenu w międzynarodowym systemie terminologii klinicznej przeznaczonym do opisywania danych Pacjenta dla celów klinicznych (SNOMED), dostępny pod linkiem: https://www.snomed.org/ lub wg klasyfikacji ATC
..... display Σ 1..1 string Nazwa alergenu
..... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... patient Σ 1..1 Reference(Patient) Pacjent
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... identifier Σ 1..1 Identifier Identyfikator Pacjenta
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri Identyfikator OID Pacjenta
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator Pacjenta
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... encounter 0..1 Reference(Encounter) Zdarzenie medyczne, w trakcie którego zarejestrowano Alergię
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 1..1 string Referencja do Zdarzenia Medycznego
.... type Σ 1..1 uri Typ zasobu
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... recordedDate 1..1 dateTime Data początku wystąpienia alergii
... recorder 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson) Lekarz potwierdzający alergię Pacjenta
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... identifier Σ 1..1 Identifier Identyfikator lekarza potwierdzającego alergię Pacjenta
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
..... system Σ 1..1 uri Identyfikator OID lekarza
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string Identyfikator lekarza
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... note 0..* Annotation Notatka
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown Treść notatki
... reaction 1..* BackboneElement Reakcja alergiczna
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... substance 0..1 CodeableConcept Specific substance or pharmaceutical product considered to be responsible for event
Binding: SubstanceCode (example): Codes defining the type of the substance (including pharmaceutical products).
.... manifestation 1..* CodeableConcept Informacja o objawach reakcji alergicznej
Binding: SNOMEDCTClinicalFindings (example): Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... coding Σ 1..1 Coding Objawy reakcji alergicznej
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Słownik objawów reakcji alergicznej
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Kod objawów reakcji alergicznej
...... display Σ 1..1 string Nazwa objawów reakcji alergicznej
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... text Σ 0..1 string Plain text representation of the concept

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AllergyIntolerance.meta.​security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
AllergyIntolerance.meta.​security.code Base required PLSecurityLabels 📦0.4.0 This IG
AllergyIntolerance.clinicalStatus Base required AllergyIntolerance Clinical Status Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.type Base required AllergyIntoleranceType 📍4.0.1 FHIR Std.
AllergyIntolerance.category Base required AllergyIntoleranceCategory 📍4.0.1 FHIR Std.
AllergyIntolerance.code Base example AllergyIntolerance Substance/Product, Condition and Negation Codes 📍4.0.1 FHIR Std.
AllergyIntolerance.patient.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AllergyIntolerance.patient.​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
AllergyIntolerance.encounter.​type Base extensible ResourceType 📍4.0.1 FHIR Std.
AllergyIntolerance.recorder.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AllergyIntolerance.recorder.​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
AllergyIntolerance.reaction.​substance Base example Substance Code 📍4.0.1 FHIR Std.
AllergyIntolerance.reaction.​manifestation Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ait-1 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error. verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()
ait-2 error AllergyIntolerance AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()
dom-2 error AllergyIntolerance If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error AllergyIntolerance If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error AllergyIntolerance If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error AllergyIntolerance If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice AllergyIntolerance A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Struktura bazuje na AllergyIntolerance

Summary

Mandatory: 29 elements(2 nested mandatory elements)
Fixed: 2 elements
Prohibited: 28 elements

 

Inne struktury profilu: CSV, Excel, Schematron